From: Daniel Boles Date: Fri, 15 Sep 2017 17:24:24 +0000 (+0100) Subject: Expander: get_label() return is nullable X-Git-Tag: archive/raspbian/3.24.39-1+rpi1~1^2~65^2~39^2~169 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=009e388bb7adae7088b236dc5f71434c7eabf9fe;p=gtk%2B3.0.git Expander: get_label() return is nullable Also, use gchar to match the header. --- diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c index 1eee8db992..37e2519dad 100644 --- a/gtk/gtkexpander.c +++ b/gtk/gtkexpander.c @@ -1425,12 +1425,12 @@ gtk_expander_set_label (GtkExpander *expander, * be avoided by fetching the label text directly from the label * widget. * - * Returns: The text of the label widget. This string is owned + * Returns: (nullable): The text of the label widget. This string is owned * by the widget and must not be modified or freed. * * Since: 2.4 */ -const char * +const gchar * gtk_expander_get_label (GtkExpander *expander) { GtkExpanderPrivate *priv;